package com.xii.mapper;

import com.xii.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SetmealMapper {
    //新增套餐
    void addSetmeal(Setmeal setmeal);

    void addSetmealGroupBySetmealId(@Param("setmealId") Integer setmealId, @Param("checkgroupId") Integer checkgroupId);

    List<Setmeal> findPage(String QueryString);

    List<Setmeal> findAll();

    Setmeal findById(Integer id);

    List<Map<String, Object>> findSetmealCount();
}
